[WIP] -Zhigher-ranked-assumptions-v2#155887
Draft
BoxyUwU wants to merge 30 commits intorust-lang:mainfrom
Draft
Conversation
This comment has been minimized.
This comment has been minimized.
8e8c7e5 to
a3098f3
Compare
This comment has been minimized.
This comment has been minimized.
e24ed3d to
c7de204
Compare
This comment has been minimized.
This comment has been minimized.
c7de204 to
642d5dc
Compare
This comment has been minimized.
This comment has been minimized.
642d5dc to
aba599d
Compare
This comment has been minimized.
This comment has been minimized.
aba599d to
19c7f1d
Compare
This comment has been minimized.
This comment has been minimized.
19c7f1d to
02a859d
Compare
This comment has been minimized.
This comment has been minimized.
BoxyUwU
commented
Apr 28, 2026
| pub mod lang_items; | ||
| pub mod lift; | ||
| pub mod outlives; | ||
| pub mod region_constraint; |
Member
Author
There was a problem hiding this comment.
weird module name
| } | ||
|
|
||
| #[derive_where(Clone, Hash, PartialEq, Debug; I: Interner)] | ||
| pub enum RegionConstraint<I: Interner> { |
Member
Author
There was a problem hiding this comment.
Weird type name
| } | ||
| } | ||
|
|
||
| fn is_and_of_leaf_constraints(&self) -> bool { |
Member
Author
There was a problem hiding this comment.
should rename these to is_canonical_and and is_canonical_or
Contributor
There was a problem hiding this comment.
something something "normal form"
lcnr
reviewed
Apr 29, 2026
lcnr
reviewed
Apr 29, 2026
lcnr
reviewed
Apr 29, 2026
lcnr
reviewed
Apr 29, 2026
lcnr
reviewed
Apr 29, 2026
Contributor
|
not blocked on eager norm, could put all the normalization support in some |
Contributor
|
pls |
lcnr
reviewed
Apr 29, 2026
| assert!(self.next_trait_solver()); | ||
|
|
||
| // FIXME(-Zhigher-ranked-assumptions-v2): Implement diagnostics | ||
| let origin = SubregionOrigin::Reborrow(DUMMY_SP); |
Contributor
There was a problem hiding this comment.
use def_span of the current body or what not at least
This comment has been minimized.
This comment has been minimized.
02a859d to
dd9d787
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
View all comments
r? lcnr
cc https://rust-lang.github.io/rust-project-goals/2026/assumptions_on_binders.html I would cc a tracking issue but the project goals haven't been finalized yet ^^'
need to: